<template>
	<view class="more">
		<view class="tab-item" @click="handleStay">
			<view style="display: flex; align-items: center;">
				<view style="width: 60rpx; height: 60rpx;">
					<img style="width: 100%; height: 100%;" src="../../static/stayIcon.png" alt="" />
				</view>
				<view style="margin-left: 20rpx;">
					留校登记记录
				</view>
			</view>
			<view class="right">
				<uni-icons type="right" size="24"></uni-icons>
			</view>
		</view>
		<view class="tab-item" @click="handleApprove">
			<view style="display: flex; align-items: center;">
				<view style="width: 60rpx; height: 60rpx;">
					<img style="width: 100%; height: 100%;" src="../../static/approveIcon.png" alt="" />
				</view>
				<view style="margin-left: 20rpx;">
					审批记录
				</view>
			</view>
			<view class="right">
				<uni-icons type="right" size="24"></uni-icons>
			</view>
		</view>
		<view class="tab-item" @click="handleRole">
			<view style="display: flex; align-items: center;">
				<view style="width: 60rpx; height: 60rpx;">
					<img style="width: 100%; height: 100%;" src="../../static/roleIcon.png" alt="" />
				</view>
				<view style="margin-left: 20rpx;">
					角色切换
				</view>
			</view>
			<view class="right">
				<uni-icons type="right" size="24"></uni-icons>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		methods: {
			handleStay() {
				uni.navigateTo({
					url: '/pages/stay/index'
				})
			},
			handleApprove() {
				uni.navigateTo({
					url: '/pages/approve/index'
				})
			},
			handleRole() {
				uni.navigateTo({
					url: '/pages/role/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.more{
		width: 94%;
		margin: auto;
		.tab-item{
			margin: 20rpx auto;
			padding: 40rpx 20rpx;
			border-radius: 10rpx;
			background-color: #fff;
			box-shadow: 0px 0px 8rpx 0px rgba(0, 0, 0, 0.2);
			display: flex;
			justify-content: space-between;
			align-items: center;
		}
	}
</style>